package com.example.cdctestsystem.service.impl;

import com.example.cdctestsystem.mapper.QuestionMapper;
import com.example.cdctestsystem.pojo.Question;
import com.example.cdctestsystem.service.QuestionService;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class QuestionServiceImpl implements QuestionService {

    @Resource
    private QuestionMapper questionMapper;

    @Override
    public void insert(Question object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(Question object) {

    }

    @Override
    public Question findById(Integer id) {
        return null;
    }

    @Override
    public List<Question> findAll() {
        return null;
    }

    @Override
    public PageInfo<Question> findPage(int pageSize) {
        return null;
    }
}
